#!/usr/bin/python3
# -*- coding: utf-8 -*-#
# -------------------------------------------------------------------------------
# Name:         utils
# Description:  
# Author:       牛泽鹏
# Date:         2019/7/9
# -------------------------------------------------------------------------------
from time import time
from uuid import uuid4
from re import sub


def make_order_number():
    """
    生成订单号
    :return: str 40位不可能相同的订单号
    """
    return str(hex(int(time())))[2:] + sub('-', '', str(uuid4()))


if __name__ == '__main__':
    print(make_order_number())
